home *** CD-ROM | disk | FTP | other *** search
/ Aminet 19 / Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso / Aminet / util / conv / FileConv.lha / FileConv / Install < prev    next >
Text File  |  1997-04-10  |  1KB  |  61 lines

  1. ;Installer script for FileConv 2
  2. ;Version 1.00
  3. ;(C) 1997 Adrian O' Neill
  4. ;See FileConv.guide for more information
  5.  
  6.  
  7.   (copylib
  8.     (prompt "Install will copy reqtools.library to Libs:")
  9.     (source "reqtools.library")
  10.     (dest "libs:")
  11.     (confirm)
  12.     (help @copylib-help)
  13.   )
  14.  
  15.   (complete 20)
  16.  
  17.   (set destdir
  18.     (askdir
  19.       (prompt "Please select a directory/partition in which to install FileConv.")
  20.       (help @askdir-help)
  21.       (default @default-dest)
  22.     )
  23.   )
  24.  
  25.   (set newdir (tackon destdir "FileConv"))
  26.  
  27.   (if (makedir newdir
  28.         (prompt ("Install will create the directory %s to place FileConv and it's files in" newdir))
  29.         (infos)
  30.         (confirm)
  31.         (help @makedir-help)
  32.       )
  33.     (set @default-dest newdir)
  34.     (set @default-dest destdir)
  35.   )
  36.  
  37.   (complete 30)
  38.  
  39.   (copyfiles
  40.     (prompt "Select which files you want to install:")
  41.     (source "")
  42.     (choices "FileConv" "FileConv.guide" "Readme" "Register" "Uninstall")
  43.     (dest @default-dest)
  44.     (infos)
  45.     (confirm)
  46.     (help @copyfiles-help)
  47.   )
  48.  
  49.   (complete 80)
  50.  
  51.   (startup "FileConv"
  52.     (prompt "A path statement should be added to your startup-sequence if you intend to use FileConv from the CLI.")
  53.     (command ("c:path %s add" @default-dest))
  54.     (help @startup-help)
  55.   )
  56.  
  57.   (complete 100)
  58.  
  59. ; $VER: Install v1.00 (08.04.97)
  60.  
  61.